<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Framework by Gaétan Collaud: Référence de la classe GlobalVar</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&nbsp;associées</span></a></li>
      <li class="current"><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="hierarchy.html"><span>Hiérarchie&nbsp;des&nbsp;classes</span></a></li>
      <li><a href="functions.html"><span>Champs&nbsp;de&nbsp;donnée</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Référence de la classe GlobalVar</h1><!-- doxytag: class="GlobalVar" -->
<p>Classe <a class="el" href="class_global_var.html" title="Classe GlobalVar Permet de simplifier l&#39;utilisation des variables globales en...">GlobalVar</a> Permet de simplifier l'utilisation des variables globales en leur ajoutant des fonctions de base.  
<a href="#_details">Plus de détails...</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Fonctions membres publiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_global_var.html#a1d7deecc2b4f3753a232e9b404f5f12c">__construct</a> ($v)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Le constructeur.  <a href="#a1d7deecc2b4f3753a232e9b404f5f12c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_global_var.html#aefbfa229f1c9e1fc967bff724a010f9e">value</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retourne la valeur de la variable.  <a href="#aefbfa229f1c9e1fc967bff724a010f9e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_global_var.html#a3df9f5eae7430bdbfaebfcd9bca5f00b">exist</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vérifie si la variable existe.  <a href="#a3df9f5eae7430bdbfaebfcd9bca5f00b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_global_var.html#a712d68f742028fe99254c6f40047599d">vide</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vérifie si la variable est vide.  <a href="#a712d68f742028fe99254c6f40047599d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_global_var.html#aa7b1ff142e9a232a1ab748a992ab1a07">SqlEscape</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Echape une variable pour SQL.  <a href="#aa7b1ff142e9a232a1ab748a992ab1a07"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_global_var.html#a8b267aa0adca2018097f6f6f4c804d46">html</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Echape les caractères html pour afficher pleinement le texte.  <a href="#a8b267aa0adca2018097f6f6f4c804d46"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_global_var.html#af925bcc620434a34f7ee4029b0700765">toInt</a> ()</td></tr>
<tr><td colspan="2"><h2>Champs de données</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_global_var.html#ac469db39bd848179bdd0d025f92fece3">ENCODING</a> = 'UTF-8'</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Encodage du site.  <a href="#ac469db39bd848179bdd0d025f92fece3"></a><br/></td></tr>
<tr><td colspan="2"><h2>Attributs privés</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_global_var.html#abbf14b515de9ac6be1266e3cce64c511">$v</a> = null</td></tr>
</table>
<hr/><a name="_details"></a><h2>Description détaillée</h2>
<p>Classe <a class="el" href="class_global_var.html" title="Classe GlobalVar Permet de simplifier l&#39;utilisation des variables globales en...">GlobalVar</a> Permet de simplifier l'utilisation des variables globales en leur ajoutant des fonctions de base. </p>
<dl class="author"><dt><b>Auteur:</b></dt><dd>Gaetan Collaud </dd></dl>
<hr/><h2>Documentation des constructeurs et destructeur</h2>
<a class="anchor" id="a1d7deecc2b4f3753a232e9b404f5f12c"></a><!-- doxytag: member="GlobalVar::__construct" ref="a1d7deecc2b4f3753a232e9b404f5f12c" args="($v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__construct </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>v</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Le constructeur. </p>
<p>Récupère le contenu de la variable </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Mixed</em>&nbsp;</td><td>$v le contenu de la variable </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Documentation des fonctions membres</h2>
<a class="anchor" id="a3df9f5eae7430bdbfaebfcd9bca5f00b"></a><!-- doxytag: member="GlobalVar::exist" ref="a3df9f5eae7430bdbfaebfcd9bca5f00b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">exist </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Vérifie si la variable existe. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>boolean true si la variable existe </dd></dl>

</div>
</div>
<a class="anchor" id="a8b267aa0adca2018097f6f6f4c804d46"></a><!-- doxytag: member="GlobalVar::html" ref="a8b267aa0adca2018097f6f6f4c804d46" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">html </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Echape les caractères html pour afficher pleinement le texte. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>String la variable échapée </dd></dl>

</div>
</div>
<a class="anchor" id="aa7b1ff142e9a232a1ab748a992ab1a07"></a><!-- doxytag: member="GlobalVar::SqlEscape" ref="aa7b1ff142e9a232a1ab748a992ab1a07" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SqlEscape </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Echape une variable pour SQL. </p>
<p>Utilise la méthode escape de la classe Sql. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>String la variable échapée </dd></dl>

</div>
</div>
<a class="anchor" id="af925bcc620434a34f7ee4029b0700765"></a><!-- doxytag: member="GlobalVar::toInt" ref="af925bcc620434a34f7ee4029b0700765" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">toInt </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aefbfa229f1c9e1fc967bff724a010f9e"></a><!-- doxytag: member="GlobalVar::value" ref="aefbfa229f1c9e1fc967bff724a010f9e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">value </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retourne la valeur de la variable. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Mixed la valeur </dd></dl>

</div>
</div>
<a class="anchor" id="a712d68f742028fe99254c6f40047599d"></a><!-- doxytag: member="GlobalVar::vide" ref="a712d68f742028fe99254c6f40047599d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vide </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Vérifie si la variable est vide. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>boolean true si la variable est vide </dd></dl>

</div>
</div>
<hr/><h2>Documentation des champs</h2>
<a class="anchor" id="abbf14b515de9ac6be1266e3cce64c511"></a><!-- doxytag: member="GlobalVar::$v" ref="abbf14b515de9ac6be1266e3cce64c511" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$v = null<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac469db39bd848179bdd0d025f92fece3"></a><!-- doxytag: member="GlobalVar::ENCODING" ref="ac469db39bd848179bdd0d025f92fece3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_global_var.html#ac469db39bd848179bdd0d025f92fece3">ENCODING</a> = 'UTF-8'</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Encodage du site. </p>

</div>
</div>
<hr/>La documentation de cette classe a été générée à partir du fichier suivant :<ul>
<li>libs/<a class="el" href="_global_var_8php.html">GlobalVar.php</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Généré le Sun May 30 20:39:44 2010 pour Framework by Gaétan Collaud par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
